package com.demo.cotroller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by wangzhanjin on 2018/6/8.
 */
@Controller
@RequestMapping("/admin")
public class AdminSController {

    @GetMapping("center")
    public String adminCenterPage() {
        return "admin/center";
    }

    @GetMapping("welcome")
    public String welcomePage() {
        return "admin/welcome";
    }

    @GetMapping("login")
    public String adminLoginPage() {
        return "admin/login";
    }


}
